
<main class="main">
    <section class="spotlight bg-cover bg-size--cover">
        <span class="mask bg-dark"></span>
        <div class="spotlight-holder py-sm pt-lg-lg">
            <div class="container d-flex align-items-center">
                <div class="row cols-xs-space cols-sm-space cols-md-space align-items-center justify-content-around">
                    <div class="col-lg-5 text-center">
                        <h2 class="heading h1 text-white strong-400">
                            {i18n{website.home_title}i18n}
                        </h2>
                        <p class="lead text-white mt-4">
                            {i18n{website.home_introduce}i18n}
                        </p>
                        <a href="https://github.com/shezw/appsite" target="_blank" class="btn bg-white mt-4">
                            Learn more
                        </a>
                    </div>
                    <div class="col-lg-5">
                        <div class="position-relative">
                            <img src="{{constants.ThemePath}}assets/images/main.png" class="img-center img-fluid rounded">
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <section class="slice slice-lg">
        <div class="container">
            <div class="row align-items-center mb-5">
                <div class="col-8">
                    <h2 class="heading h3 mb-0">Latest Articles</h2>
                </div>
                <div class="col-4 text-right">
                    <a href="/article/list" class="btn btn-sm btn-primary">More</a>
                </div>
            </div>
            <div class="row cols-xs-space cols-sm-space cols-md-space">

                ||loop??articles??
                <div class="col-lg-4">
                    <div class="card border-0">
                        <img class="rounded z-depth-3 img-fluid" src="{{cover}}" alt="Image description">
                        <div class="pt-4">
                            <h5 class="card-title">{{title}}</h5>
                            <p class="card-text">{{description}}</p>
                            <a class="btn btn-link text-gray-700 pl-0" href="/article/detail/{{uid}}">Read more</a>
                        </div>
                    </div>
                </div>
                loop||

            </div>
        </div>
    </section>

</main>

